﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using DAO;

namespace Service
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "ImportarBanco" in code, svc and config file together.
    public class ImportarBanco : IImportarBanco
    {
        public List<Evento> Teste()
        {
            List<Evento> eventos = DAO.EventoDAO.Listar();
            return eventos;
        }

        public string hello(string nome)
        {
            return "olá " + nome;
        }

    }
}
